//
//  UpdateUserHeadImgTableViewCell.m
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/8/24.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import "UpdateUserHeadImgTableViewCell.h"
#import <SDWebImage/UIImageView+WebCache.h>

@interface UpdateUserHeadImgTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UIImageView *iconImage;

@end

@implementation UpdateUserHeadImgTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.iconImage.layer.cornerRadius = 20;
    self.iconImage.layer.masksToBounds = YES;
}


- (void)setupUI:(NSString *)name imageURL:(NSString *)imageurl {
    [self.iconImage sd_setImageWithURL:[NSURL URLWithString:imageurl] placeholderImage:[UIImage imageNamed:@"icon"]];
}

@end
